\hypertarget{namespacemodel_1_1_locale}{
\section{Package model.Locale}
\label{namespacemodel_1_1_locale}\index{model.Locale@{model.Locale}}
}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classmodel_1_1_locale_1_1_locale}{Locale}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{namespacemodel_1_1_locale_a81a9ebdca44c2371d86ad703a33ed921}{\_\-\_\-init\_\-\_\-}
\item 
def \hyperlink{namespacemodel_1_1_locale_a85b4e7824b223ea0ac7e4a8a62aa06f4}{getDefault}
\item 
def \hyperlink{namespacemodel_1_1_locale_a73f1052fc83d17e92b93e4f327da684d}{setDefault}
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
tuple \hyperlink{namespacemodel_1_1_locale_a26f40c5a5607c253fb2810d6c7e6c61e}{ENGLISH} = model.Locale(\char`\"{}en\char`\"{},\char`\"{}\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_a614572c69b140a6f541ccdc99ace33c8}{FRENCH} = model.Locale(\char`\"{}fr\char`\"{},\char`\"{}\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_a3731e617351711b04e009c6f6b64ee15}{GERMAN} = model.Locale(\char`\"{}de\char`\"{},\char`\"{}\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_ac9fa9ce67a8793368e799cf295ffc872}{JAPANESE} = model.Locale(\char`\"{}ja\char`\"{},\char`\"{}\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_a6963e47d0e529f075126fb1dcf7f19b5}{CHINESE} = model.Locale(\char`\"{}zh\char`\"{},\char`\"{}\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_a435dda21f101793af4dd6bb03ad1b96a}{SIMPLIFIED\_\-CHINESE} = model.Locale(\char`\"{}zh\char`\"{},\char`\"{}CN\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_a1daa2756a84ddc9b883ebe25c1c44ca0}{TRADITIONAL\_\-CHINESE} = model.Locale(\char`\"{}zh\char`\"{},\char`\"{}TW\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_a4adb9c6148ab08888b01f3617a3f517e}{FRANCE} = model.Locale(\char`\"{}fr\char`\"{},\char`\"{}FR\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_a0f54facf6da9081cca996c0912f80ee2}{GERMANY} = model.Locale(\char`\"{}de\char`\"{},\char`\"{}DE\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_a4844b2774a9d61691b590dc35785a856}{JAPAN} = model.Locale(\char`\"{}ja\char`\"{},\char`\"{}JP\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_ae541f15e88ef0605328e6d7af66e6cdb}{CHINA} = model.Locale(\char`\"{}zh\char`\"{},\char`\"{}CN\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_a898bea35450a6e35842f790659986ed8}{UK} = model.Locale(\char`\"{}en\char`\"{},\char`\"{}GB\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_aabe1a646b7020d1b975ea23628a56d39}{US} = model.Locale(\char`\"{}en\char`\"{},\char`\"{}\hyperlink{namespacemodel_1_1_locale_aabe1a646b7020d1b975ea23628a56d39}{US}\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_a05bcc593a4e05e65cb5a1b3400312e32}{CANADA} = model.Locale(\char`\"{}en\char`\"{},\char`\"{}CA\char`\"{},\char`\"{}\char`\"{})
\item 
tuple \hyperlink{namespacemodel_1_1_locale_a0564e3eb62170bf22b82cced9b75bc39}{CANADA\_\-FRENCH} = model.Locale(\char`\"{}fr\char`\"{},\char`\"{}CA\char`\"{},\char`\"{}\char`\"{})
\item 
\hyperlink{namespacemodel_1_1_locale_ab56e230c8e25c0c3505927a0e776392d}{defaultLocale} = \hyperlink{namespacemodel_1_1_locale_a26f40c5a5607c253fb2810d6c7e6c61e}{Locale.ENGLISH}
\item 
\hyperlink{namespacemodel_1_1_locale_ac012847d77449d48069bfde0690b9de0}{language}
\item 
\hyperlink{namespacemodel_1_1_locale_a6bdd015b8d69abc5d3c997cdd3d24581}{country}
\item 
\hyperlink{namespacemodel_1_1_locale_a8386fa2e9573600c53aa00c22540caf9}{variant}
\item 
\hyperlink{namespacemodel_1_1_locale_a1b6ad7f923acd4704e6f75d0e43fe79d}{shortName}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}
Created on 11-Jul-09

@author: jm
\end{DoxyVerb}
 

\subsection{Function Documentation}
\hypertarget{namespacemodel_1_1_locale_a81a9ebdca44c2371d86ad703a33ed921}{
\index{model::Locale@{model::Locale}!\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}}
\index{\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}!model::Locale@{model::Locale}}
\subsubsection[{\_\-\_\-init\_\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def model.Locale.\_\-\_\-init\_\-\_\- ( {\em self}, \/   {\em language}, \/   {\em country} = {\ttfamily \char`\"{}\char`\"{}}, \/   {\em variant} = {\ttfamily \char`\"{}\char`\"{}})}}
\label{namespacemodel_1_1_locale_a81a9ebdca44c2371d86ad703a33ed921}
\begin{DoxyVerb}
Constructor
\end{DoxyVerb}
 

Definition at line 32 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a85b4e7824b223ea0ac7e4a8a62aa06f4}{
\index{model::Locale@{model::Locale}!getDefault@{getDefault}}
\index{getDefault@{getDefault}!model::Locale@{model::Locale}}
\subsubsection[{getDefault}]{\setlength{\rightskip}{0pt plus 5cm}def model.Locale.getDefault ( {\em self})}}
\label{namespacemodel_1_1_locale_a85b4e7824b223ea0ac7e4a8a62aa06f4}


Definition at line 43 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a73f1052fc83d17e92b93e4f327da684d}{
\index{model::Locale@{model::Locale}!setDefault@{setDefault}}
\index{setDefault@{setDefault}!model::Locale@{model::Locale}}
\subsubsection[{setDefault}]{\setlength{\rightskip}{0pt plus 5cm}def model.Locale.setDefault ( {\em self}, \/   {\em newLocale})}}
\label{namespacemodel_1_1_locale_a73f1052fc83d17e92b93e4f327da684d}


Definition at line 46 of file Locale.py.

\subsection{Variable Documentation}
\hypertarget{namespacemodel_1_1_locale_a05bcc593a4e05e65cb5a1b3400312e32}{
\index{model::Locale@{model::Locale}!CANADA@{CANADA}}
\index{CANADA@{CANADA}!model::Locale@{model::Locale}}
\subsubsection[{CANADA}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.CANADA} = model.Locale(\char`\"{}en\char`\"{},\char`\"{}CA\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_a05bcc593a4e05e65cb5a1b3400312e32}


Definition at line 26 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a0564e3eb62170bf22b82cced9b75bc39}{
\index{model::Locale@{model::Locale}!CANADA\_\-FRENCH@{CANADA\_\-FRENCH}}
\index{CANADA\_\-FRENCH@{CANADA\_\-FRENCH}!model::Locale@{model::Locale}}
\subsubsection[{CANADA\_\-FRENCH}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.CANADA\_\-FRENCH} = model.Locale(\char`\"{}fr\char`\"{},\char`\"{}CA\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_a0564e3eb62170bf22b82cced9b75bc39}


Definition at line 27 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_ae541f15e88ef0605328e6d7af66e6cdb}{
\index{model::Locale@{model::Locale}!CHINA@{CHINA}}
\index{CHINA@{CHINA}!model::Locale@{model::Locale}}
\subsubsection[{CHINA}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.CHINA} = model.Locale(\char`\"{}zh\char`\"{},\char`\"{}CN\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_ae541f15e88ef0605328e6d7af66e6cdb}


Definition at line 23 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a6963e47d0e529f075126fb1dcf7f19b5}{
\index{model::Locale@{model::Locale}!CHINESE@{CHINESE}}
\index{CHINESE@{CHINESE}!model::Locale@{model::Locale}}
\subsubsection[{CHINESE}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.CHINESE} = model.Locale(\char`\"{}zh\char`\"{},\char`\"{}\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_a6963e47d0e529f075126fb1dcf7f19b5}


Definition at line 17 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a6bdd015b8d69abc5d3c997cdd3d24581}{
\index{model::Locale@{model::Locale}!country@{country}}
\index{country@{country}!model::Locale@{model::Locale}}
\subsubsection[{country}]{\setlength{\rightskip}{0pt plus 5cm}{\bf model::Locale.country}}}
\label{namespacemodel_1_1_locale_a6bdd015b8d69abc5d3c997cdd3d24581}


Definition at line 37 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_ab56e230c8e25c0c3505927a0e776392d}{
\index{model::Locale@{model::Locale}!defaultLocale@{defaultLocale}}
\index{defaultLocale@{defaultLocale}!model::Locale@{model::Locale}}
\subsubsection[{defaultLocale}]{\setlength{\rightskip}{0pt plus 5cm}{\bf model::Locale.defaultLocale} = {\bf Locale.ENGLISH}}}
\label{namespacemodel_1_1_locale_ab56e230c8e25c0c3505927a0e776392d}


Definition at line 29 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a26f40c5a5607c253fb2810d6c7e6c61e}{
\index{model::Locale@{model::Locale}!ENGLISH@{ENGLISH}}
\index{ENGLISH@{ENGLISH}!model::Locale@{model::Locale}}
\subsubsection[{ENGLISH}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.ENGLISH} = model.Locale(\char`\"{}en\char`\"{},\char`\"{}\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_a26f40c5a5607c253fb2810d6c7e6c61e}
\begin{DoxyVerb}
(lang, country, variant).
\end{DoxyVerb}
 

Definition at line 13 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a4adb9c6148ab08888b01f3617a3f517e}{
\index{model::Locale@{model::Locale}!FRANCE@{FRANCE}}
\index{FRANCE@{FRANCE}!model::Locale@{model::Locale}}
\subsubsection[{FRANCE}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.FRANCE} = model.Locale(\char`\"{}fr\char`\"{},\char`\"{}FR\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_a4adb9c6148ab08888b01f3617a3f517e}


Definition at line 20 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a614572c69b140a6f541ccdc99ace33c8}{
\index{model::Locale@{model::Locale}!FRENCH@{FRENCH}}
\index{FRENCH@{FRENCH}!model::Locale@{model::Locale}}
\subsubsection[{FRENCH}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.FRENCH} = model.Locale(\char`\"{}fr\char`\"{},\char`\"{}\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_a614572c69b140a6f541ccdc99ace33c8}


Definition at line 14 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a3731e617351711b04e009c6f6b64ee15}{
\index{model::Locale@{model::Locale}!GERMAN@{GERMAN}}
\index{GERMAN@{GERMAN}!model::Locale@{model::Locale}}
\subsubsection[{GERMAN}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.GERMAN} = model.Locale(\char`\"{}de\char`\"{},\char`\"{}\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_a3731e617351711b04e009c6f6b64ee15}


Definition at line 15 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a0f54facf6da9081cca996c0912f80ee2}{
\index{model::Locale@{model::Locale}!GERMANY@{GERMANY}}
\index{GERMANY@{GERMANY}!model::Locale@{model::Locale}}
\subsubsection[{GERMANY}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.GERMANY} = model.Locale(\char`\"{}de\char`\"{},\char`\"{}DE\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_a0f54facf6da9081cca996c0912f80ee2}


Definition at line 21 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a4844b2774a9d61691b590dc35785a856}{
\index{model::Locale@{model::Locale}!JAPAN@{JAPAN}}
\index{JAPAN@{JAPAN}!model::Locale@{model::Locale}}
\subsubsection[{JAPAN}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.JAPAN} = model.Locale(\char`\"{}ja\char`\"{},\char`\"{}JP\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_a4844b2774a9d61691b590dc35785a856}


Definition at line 22 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_ac9fa9ce67a8793368e799cf295ffc872}{
\index{model::Locale@{model::Locale}!JAPANESE@{JAPANESE}}
\index{JAPANESE@{JAPANESE}!model::Locale@{model::Locale}}
\subsubsection[{JAPANESE}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.JAPANESE} = model.Locale(\char`\"{}ja\char`\"{},\char`\"{}\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_ac9fa9ce67a8793368e799cf295ffc872}


Definition at line 16 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_ac012847d77449d48069bfde0690b9de0}{
\index{model::Locale@{model::Locale}!language@{language}}
\index{language@{language}!model::Locale@{model::Locale}}
\subsubsection[{language}]{\setlength{\rightskip}{0pt plus 5cm}{\bf model::Locale.language}}}
\label{namespacemodel_1_1_locale_ac012847d77449d48069bfde0690b9de0}


Definition at line 36 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a1b6ad7f923acd4704e6f75d0e43fe79d}{
\index{model::Locale@{model::Locale}!shortName@{shortName}}
\index{shortName@{shortName}!model::Locale@{model::Locale}}
\subsubsection[{shortName}]{\setlength{\rightskip}{0pt plus 5cm}{\bf model::Locale.shortName}}}
\label{namespacemodel_1_1_locale_a1b6ad7f923acd4704e6f75d0e43fe79d}


Definition at line 39 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a435dda21f101793af4dd6bb03ad1b96a}{
\index{model::Locale@{model::Locale}!SIMPLIFIED\_\-CHINESE@{SIMPLIFIED\_\-CHINESE}}
\index{SIMPLIFIED\_\-CHINESE@{SIMPLIFIED\_\-CHINESE}!model::Locale@{model::Locale}}
\subsubsection[{SIMPLIFIED\_\-CHINESE}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.SIMPLIFIED\_\-CHINESE} = model.Locale(\char`\"{}zh\char`\"{},\char`\"{}CN\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_a435dda21f101793af4dd6bb03ad1b96a}


Definition at line 18 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a1daa2756a84ddc9b883ebe25c1c44ca0}{
\index{model::Locale@{model::Locale}!TRADITIONAL\_\-CHINESE@{TRADITIONAL\_\-CHINESE}}
\index{TRADITIONAL\_\-CHINESE@{TRADITIONAL\_\-CHINESE}!model::Locale@{model::Locale}}
\subsubsection[{TRADITIONAL\_\-CHINESE}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.TRADITIONAL\_\-CHINESE} = model.Locale(\char`\"{}zh\char`\"{},\char`\"{}TW\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_a1daa2756a84ddc9b883ebe25c1c44ca0}


Definition at line 19 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a898bea35450a6e35842f790659986ed8}{
\index{model::Locale@{model::Locale}!UK@{UK}}
\index{UK@{UK}!model::Locale@{model::Locale}}
\subsubsection[{UK}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.UK} = model.Locale(\char`\"{}en\char`\"{},\char`\"{}GB\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_a898bea35450a6e35842f790659986ed8}


Definition at line 24 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_aabe1a646b7020d1b975ea23628a56d39}{
\index{model::Locale@{model::Locale}!US@{US}}
\index{US@{US}!model::Locale@{model::Locale}}
\subsubsection[{US}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::Locale.US} = model.Locale(\char`\"{}en\char`\"{},\char`\"{}{\bf US}\char`\"{},\char`\"{}\char`\"{})}}
\label{namespacemodel_1_1_locale_aabe1a646b7020d1b975ea23628a56d39}


Definition at line 25 of file Locale.py.\hypertarget{namespacemodel_1_1_locale_a8386fa2e9573600c53aa00c22540caf9}{
\index{model::Locale@{model::Locale}!variant@{variant}}
\index{variant@{variant}!model::Locale@{model::Locale}}
\subsubsection[{variant}]{\setlength{\rightskip}{0pt plus 5cm}{\bf model::Locale.variant}}}
\label{namespacemodel_1_1_locale_a8386fa2e9573600c53aa00c22540caf9}


Definition at line 38 of file Locale.py.